Tables [dbo].[Component_Interest_Group]
Properties
PropertyValue
Created10:31:17 AM Tuesday, March 02, 2010
Last Modified11:40:01 AM Monday, February 20, 2012
Columns
NameData TypeMax Length (Bytes)Allow Nulls
Cluster Primary Key PK_Component_Interest_Group: ComponentCode\InterestCategoryIDComponentCodechar(2)2
No
Cluster Primary Key PK_Component_Interest_Group: ComponentCode\InterestCategoryIDForeign Keys FK_Component_Interest_Group_Interest_Category: [dbo].[Interest_Category].InterestCategoryIDInterestCategoryIDnumeric(18,0)9
No
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_Component_Interest_Group: ComponentCode\InterestCategoryIDPK_Component_Interest_GroupComponentCode, InterestCategoryID
Yes
Foreign Keys Foreign Keys
NameColumns
FK_Component_Interest_Group_Interest_CategoryInterestCategoryID->[dbo].[Interest_Category].[InterestCategoryID]
Permissions
TypeActionOwning Principal
GrantDeleteIMIS
GrantInsertIMIS
GrantReferencesIMIS
GrantSelectIMIS
GrantUpdateIMIS
SQL Script
CREATE TABLE [dbo].[Component_Interest_Group]
(
[ComponentCode] [char] (2) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[InterestCategoryID] [numeric] (18, 0) NOT NULL
) ON [PRIMARY]

GO
ALTER TABLE [dbo].[Component_Interest_Group] ADD CONSTRAINT [PK_Component_Interest_Group] PRIMARY KEY CLUSTERED ([ComponentCode], [InterestCategoryID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[Component_Interest_Group] ADD CONSTRAINT [FK_Component_Interest_Group_Interest_Category] FOREIGN KEY ([InterestCategoryID]) REFERENCES [dbo].[Interest_Category] ([InterestCategoryID])
GO
GRANT REFERENCES ON  [dbo].[Component_Interest_Group] TO [IMIS]
GRANT SELECT ON  [dbo].[Component_Interest_Group] TO [IMIS]
GRANT INSERT ON  [dbo].[Component_Interest_Group] TO [IMIS]
GRANT DELETE ON  [dbo].[Component_Interest_Group] TO [IMIS]
GRANT UPDATE ON  [dbo].[Component_Interest_Group] TO [IMIS]
GO
Uses